package com.teacher.pojo.vo.student;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zfm
 * @date 2021/7/19 9:55
 */
@Data
public class StudentGetVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long classId;
    private String studentKey;
    private String name;
    private Integer year;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long departmentId;
    private String politicsStatus;

    private String departmentStr;

    private String classStr;


    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "民族")
    private String ethnic;

    @ApiModelProperty(value = "10->普通学生 20->贫困生 30->特贫困生")
    private Integer type;
}
